import { createApp } from 'vue'
import 'element-plus/lib/theme-chalk/index.css'
import App from './App.vue'
import './permission'
import store from './store'
import router from './router'
import ElementPlus from 'element-plus'
import 'dayjs/locale/zh-cn'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import './assets/css/custom.scss'
import './assets/css/flex.css'

const app = createApp(App)
app.use(ElementPlus, { size: 'mini', zIndex: 3000, locale })
  .use(store)
  .use(router)
  .mount('#app')
